package com.night.icm.model.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * CourseDTO
 *
 * @author Liao ZhiYong
 * @date 2020/2/4
 */
@ApiModel(description = "课程信息")
@Data
public class CourseDTO {

    @ApiModelProperty(position = 110, value = "课程id，自增")
    private String id;

    @ApiModelProperty(position = 120, value = "课程编号", required = true)
    private String code;

    @ApiModelProperty(position = 130, value = "课程名称", required = true)
    private String name;

    @ApiModelProperty(position = 140, value = "课程类型", required = true)
    private CourseTypeDTO courseType;

    @ApiModelProperty(position = 150, value = "修读学分", required = true)
    private Double credit;

    @ApiModelProperty(position = 160, value = "考核方式", required = true)
    private String evaluationMode;

    @ApiModelProperty(position = 180, value = "显示顺序", required = true)
    private Integer showOrder;
}